﻿<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<table>
	<%using (z.m.db.Database db = new z.m.db.Database()) {
		int id;
		int.TryParse(Request.QueryString["id"], out id);
		var occasion = db.Occasions.Where(x => x.ID == id).Single();
		foreach (var evt in occasion.Occasion_Detail) {
	%><%:Html.Partial("_Adminster",evt)%><%
	  }
	}  
	%>
</table>
